import com.demo.PVConvertMappingObject;
import com.demo.StudentPO;
import com.demo.StudentVO;

import java.math.BigDecimal;
import java.util.Date;

public class Main {

    public static void main(String[] args) {
//        Object object = new Test();
//        System.out.println(object.getClass().getTypeName());
//
//        Object obj = "jjj";
//        System.out.println(obj);


//        Object obj = 222;
//        System.out.println(obj);

//        try {
//
//            System.out.println(Class.forName("java.lang.Integer").getSuperclass().getName().equals("java.lang.Number") );
//        } catch (ClassNotFoundException e) {
//            e.printStackTrace();
//        }

        StudentVO zhangsan = new PVConvertMappingObject().convert(new StudentPO("zhangsan", 100, new Date(), new BigDecimal("1000.432498")), new StudentVO());
        System.out.println(zhangsan.getName());
        System.out.println(zhangsan.getAge());
        System.out.println(zhangsan.getBirthDay());
        System.out.println(zhangsan.getMoney1());
    }
}

class Test extends StudentVO {



}
